package com.hai.books.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hai.books.entity.BookInfo;
import com.hai.books.entity.Users;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

public interface BookInfoService extends IService<BookInfo> {

    /**
     * 查询
     * @return
     */
    List<BookInfo> queryBookInfoList(Map<String, Object> map);


    /**
     * 查询总条数
     * @param map
     * @return
     */
    int queryBookIfoCount(Map<String, Object> map);


    int updateBook( int bookid);
}
